<template>
	<div class="content">
        <div class="detail">
            <div v-html="html">
            </div>
        </div>
    </div>
</template>
<script>
    import {getHrefParams} from '../../utils/zx';
    import axios from 'axios';
	export default {
		data(){
			return {
                html: ''
			}
		},
		methods: {
			
        },
        async mounted() {
            let explainContainer = this.$refs.explainContainer;
            let expCode = getHrefParams().expCode;
            let option = {
                url: api.base_host + '/expMana/findDetail',
                method: 'GET',
                params: {
                    expCode: expCode
                }
            }
            if(expCode) {
                let explain = await axios(option);
                explain.data.returnCode && (this.html = explain.data.data[0].detail);
            }
        }
	}
</script>
<style scoped>
    .content{
        margin: 1rem 0rem;
        padding: 0rem 0.5rem;
        text-align: left;
    }
    .detail{
        background-color: #fff;
        padding: 0.5rem 0.75rem 1.5rem 0.75rem;
    }
</style>